<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
<a href="https://www.baidu.com">打开百度</a>
<form action="#">
    姓名:<input type="text" value="tom" placeholder="请输入用户名" name="uname"> <br>
    昵称:<input type="text" value="rose" name="nickname" maxlength="6" readonly> <br>
    昵称:<input type="text" value="rose" name="nickname" maxlength="6" disabled> <br>
    性别:
    <input type="radio" name="gender" value="1">男
    <input type="radio" name="gender" value="0" checked>女
<br>

    爱好:
    <input type="checkbox" name="like" value="cy">抽烟
    <input type="checkbox" name="like" value="hj" checked>喝酒
    <input type="checkbox" name="like" value="tt">烫头
    <input type="checkbox" name="like" value="java">学Java
<br>
    生日: <input type="date" name="birthday"> <br>
    幸运色:<input type="color"> <br>
    缩放:<input type="range"> <br>
    留言板: <textarea style="resize: none;"></textarea> <br>
    <input type="checkbox" id="agree">
    <label for="agree">我同意</label> <br>
    喜欢的城市:
    <select name="city">
        <option value="bj">北京</option>
        <option value="nj">南京</option>
        <option value="zz" selected>郑州</option>
    </select> <br>
    文件:<input type="file" name="ufile"> <br>

    密码:<input type="password" placeholder="请输入密码" name="pwd"> <br>
    <input type="submit" value="点我提交">
    <input type="reset" value="点我重置">
    <input type="button" value="普通按钮">
    <button>我是按钮</button>
</form>
</body>
</html>